package com.mdxl.first.util;

import java.io.IOException;
import java.util.Properties;

import org.springframework.core.io.ClassPathResource;
import org.springframework.core.io.Resource;
import org.springframework.core.io.support.PropertiesLoaderUtils;


public class Constant {
	
	private static Resource resource = null;
	private static Properties property = null;
	
	static{
		 try {
			 resource = new ClassPathResource("/application.properties");
			property = PropertiesLoaderUtils.loadProperties(resource);
		} catch (IOException e) {
			// TODO Auto-generated catch block
		}
	}
	
	public static String IP_USER_PASSWORD = "123456";

	public static String fromSource = "yanguang";

	/**
	 * 客户端输出
	 */
	public static final String CLIENT_RESPONSE = "app_client_response";	
	
	/******************************特殊模型****************************************/
	public static final String model_ticketChannel = "ticketChannel";
	/**
	 * 用户模型
	 */
	public static final String model_users = "t_user";
	
	/**
	 * 文件模型
	 */
	public static final String model_files = "files";
	
	
	/**
	 * 验证码模型
	 */
	public static final String model_codes = "codes";
	
	/**
	 * 短信模板模型
	 */
	public static final String model_smsTemplate = "SmsTemplate";
	
	/******************************脚印 后台 模型 开始****************************************/
	/** 推送消息 **/
	public static final String MODEL_JIAOYIN_REMINDINFO = "jiaoyin_remindinfo";
	/** 推送记录 **/
	public static final String MODEL_JIAOYIN_REMIND_RECORD = "jiaoyin_remind_record";
	/** 系统设置 **/
	public static final String MODEL_JIAOYIN_SETUP_OPTIONS = "jiaoyin_setup_options";
	/** 栏目订阅申请 **/	
	public static final String MODEL_JIAOYIN_USER_SUBSERVICE_APPLY = "jiaoyin_user_subservice_apply";
	/** 大咖专栏 **/
	public static final String MODEL_JIAOYIN_IP_OPEN_COLUMN = "jiaoyin_ip_open_column";
	/** 大咖专栏服务信息 **/
	public static final String MODEL_JIAOYIN_IP_SERVICE = "jiaoyin_ip_service";
	/** 用户专栏内容订阅 **/
	public static final String MODEL_JIAOYIN_USER_SUBSERVICE = "jiaoyin_user_subservice";
	/** IP **/
	public static final String MODEL_T_IP = "t_ip";
	/** 作品库 **/
	public static final String MODEL_T_LIVE_SHOW = "t_live_show";
	/** 分享 **/
	public static final String MODEL_T_LIVE_SHOW_SHARE = "t_live_show_share";
	/** 外部资源 **/
	public static final String MODEL_JIAOYIN_EXTERNAL_RESOURCE_PROPERTIES = "jiaoyin_external_resource_properties";
	
	/******************************脚印 后台 模型 结束****************************************/
	
	/******************************所有模型都有字段****************************************/
	/**
	 * 创建时间
	 */
	public static final String CREATED_AT = "createdAt";
	
	/**
	 * 更新时间
	 */
	public static final String UPDATED_AT = "updatedAt";
	
	/**
	 * 主键key
	 */
	public static final String OBJECTID = "objectId";
	
	/**
	 * 删除状态
	 */
	public static final String STATE = "state";
	
	/******************************所有模型必有字段****************************************/

	public static final String USERINFO = "userinfo";
	
	/******************************用户users模型必有字段****************************************/
	
	public static final String user_defaultPassword = "keegoo123456";
	
	public static final String user_lastLoginTime = "lastLoginTime";
	
	public static final String user_tokens = "tokens";
	
	public static final String user_sessionToken = "sessionToken";
	
	public static final String user_importFromParse = "importFromParse";
	
	public static final String user_secretKey = "secretKey";
	
	public static final String user_mobilePhoneNumber = "mobilePhoneNumber";
	
	public static final String user_mobilePhoneVerified = "mobilePhoneVerified";
	
	public static final String user_username = "username";
	
	public static final String user_userName = "userName";
	
	public static final String user_password = "password";
	
	public static final String user_email = "email";
	
	public static final String user_site = "site";
	
	public static final String user_siteUserId = "siteUserId";
	
	public static final String user_roleid = "roleid";//指定用户身份：超级管理员、商户管理员等
	
	public static final String user_currentVersion = "currentVersion";//用户当前使用版本
	
	public static final String user_regVersion = "regVersion";//用户注册版本
	
	/******************************用户users模型必有字段****************************************/
	
	/******************************文件files模型必有字段****************************************/
	public static final String files_content = "content";
	public static final String files_path = "path";
	public static final String files_host = "host";
	public static final String files_filetype = "fileType";
	/******************************文件files模型必有字段****************************************/
	
	/******************************验证码模型必有字段****************************************/
	public static final String codes_mobile = "mobile";
	public static final String codes_code = "code";
	public static final String codes_due_time = "duetime";
	/******************************验证码模型必有字段****************************************/
	
	/******************************特定动作处理********************************************/
	
	/**
	 * 登录
	 * GET
	 */
	public static final String method_login = "login";
	
	public static final String sha512_salt = "keegoo!@#";
	
	/******************************特定动作处理********************************************/
	
//	public static final SerializerFeature[] serializerFeatures = { 
//		SerializerFeature.WriteMapNullValue, // 输出空置字段
//        SerializerFeature.WriteNullListAsEmpty,//list字段如果为null，输出为[]，而不是null
//        SerializerFeature.WriteNullNumberAsZero,// 数值字段如果为null，输出为0，而不是null
//        SerializerFeature.WriteNullBooleanAsFalse,//Boolean字段如果为null，输出为false，而不是null
//        SerializerFeature.WriteNullStringAsEmpty,// 字符类型字段如果为null，输出为""，而不是null
//	};
	
	public static final String API_CALL_STATUS_SUCCESS = "10000";
	public static final String API_CALL_STATUS_SUCCESS_MSG = "调用成功";
	
	public static final String API_CALL_STATUS_ERROR_INVALID_ACCESS_TOKEN = "10001";
	public static final String API_CALL_STATUS_ERROR_INVALID_ACCESS_TOKEN_MSG = "access_token无效";

	public static final String API_CALL_STATUS_ERROR_INVALID_SIGN = "10002";
	public static final String API_CALL_STATUS_ERROR_INVALID_SIGN_MSG = "签名失败";

	public static final String API_CALL_STATUS_ERROR_ACTIVATION = "10003";
	public static final String API_CALL_STATUS_ERROR_ACTIVATION_MSG = "帐户激活失败";
	
	public static final String API_CALL_STATUS_ERROR_EXCEPTION = "11000";
	public static final String API_CALL_STATUS_ERROR_EXCEPTION_MSG = "系统异常";
	
	public static final String API_CALL_STATUS_ERROR_PASSWORDWRONG = "13001";
	public static final String API_CALL_STATUS_ERROR_PASSWORDWRONG_MSG = "密码错误！";
	
	/** 用户图片上传目录 */
	public static final String USER_UPLOAD_DIRECTORY = "userfiles";
	
	/**用户登录标识键*/
//	public static final String User_loginIdentifying = "loginIdentifying";
	
	/**
	 * 品牌搜索字段
	 */
	public static final String BRAND_SEARCH_KEY="key";
	
	/**
	 * 产品名称 速印
	 */
//	public static final String keegoo_babyprinting_app = "babyprinting";
	
	/**
	 * 产品名称 快跑
	 */
//	public static final String deji_saas_zhaopin = "deji.saas.zhaopin";
//	
//	public static final String user_message_List_key = "user_message_list_";
//	
//	public static final String user_message_count_key = "user_message_count_";
//	
//	public static final String user_friend_dynamic_key = "user_friend_dynamic_";
//	
//	public static final String user_center_dynamic_key = "user_center_dynamic_";
//	
//	public static final String user_orderPay_list_key = "user_orderPay_list_key";
//	
//	public static final String user_orderPay_count_key = "user_orderPay_count_key";
	/**
	 * 高级检索接口中的数据
	 */
//	public static final String LENGTH="length";
	
	public static final String RESULTS="results";
	
//	public static final String DeviceType_IOS = "ios";
	
//	public static final String DeviceType_Android = "android";
	
	/**
	 * 支付平台-微信支付
	 */
	public static final String PAY_PLATFORM_WEIXIN = "weixin";
	
	/**
	 * 支付平台-微信支付-JSAPI
	 */
	public static final String PAY_PLATFORM_WEIXIN_JSAPI = "JSAPI";
	
	/**
	 * 支付平台-微信支付-JSAPI
	 */
	public static final String PAY_PLATFORM_WEIXIN_SAOMA = "NATIVE";
	
	/**
	 * 支付平台-支付宝
	 */
	public static final String PAY_PLATFORM_ALIPAY = "alipay";
	
	/**
	 * 支付平台-微信支付-JSAPI
	 */
	public static final String PAY_PLATFORM_ALIPAY_JSAPI = "alipayJS";
	/**
	 * 首单字典分组值
	 */
	public static final String FIRST_ORDER_DISCOUNT = "FIRST_ORDER_DISCOUNT";
	/**
	 * 用户领取代金券的活动编号值
	 */
	public static final String ACTIVITY_NO_DISCOUNT = "ACTIVITY_NO_DISCOUNT";
	/**
	 * 账单异常通知小组
	 */
	public static final String EXCEPTION_BILL_GROUP = "EXCEPTION_BILL_GROUP";
	

	/***********************************消费码验码使用       start ****************************************************/
	
	/**退款类型, 1:不能退*/
	public static final int REFUNDTYPE_CANNOT = 1; 
	/**退款类型, 2:未使用退*/
	public static final int REFUNDTYPE_NOTUSED = 2; 
	/**退款类型, 3:过期退*/
	public static final int REFUNDTYPE_EXPIRE = 3; 
	
	/**消费码使用状态，0：未使用*/
	public static final int USESTATUS_UNTAPPED = 0;
	/**消费码使用状态，1：已使用*/
	public static final int USESTATUS_USED = 1;
	/**消费码使用状态，2：已过期*/
	public static final int USESTATUS_EXPIRE = 2;
	
	/**消费码生成方式，0：系统生成*/
	public static final int CODETYPE_SYSGEN = 0;
	/**消费码生成方式，1：运营生成*/
	public static final int CODETYPE_OPERATIONS = 1;
	/**消费码生成方式，2：商户生成*/
	public static final int CODETYPE_MERCHANT = 2;
	/**消费码生成方式，3：第三方系统生成*/
	public static final int CODETYPE_THIRDPARTY = 3;
	
	/***********************************消费码验码使用       start ****************************************************/
	
	public static final int FIND_RESULT_MAX = 1000;
	
	/** 订单表 */
	public static final String customerName = "customerName";
	public static final String quantity = "quantity";
	public static final String price = "price";
	public static final String saleUser = "saleUser";
	public static final String password = "password";
	public static final String paymentStatus = "paymentStatus";
	public static final String customerMark = "customerMark";
	
	/**
	 * product_name 产品名称
	 * stock	库存
	 * price	单价
	 * status	状态 1销售中
	 * service_id 服务id，小助手的话存激活码id,其它产品再定义
	 * platform_product_type 平台产品 1招聘助手
	 * 
	 */
	/**产品表*/
	public static final String product_name="product_name";
	public static final String stock="stock";
	public static final String product_price="price";
	public static final String status="status";
	public static final String service_id="service_id";
	public static final String platform_product_type="platform_product_type";
	
	public static final String platform_product_type_zhaopin_value="1";
	/**接收*/
	public static final String serviceTime="serviceTime";
	/**用户禁言 在redis中的前缀*/
	public static final String USERSHUTUP = "USERSHUTUP";
	/**直播中全员用户禁言 redis中的前缀*/
	public static final String MESSAGE_STATE = "MESSAGESTATE";
	/**后台登陆时候在redis中存的token*/
	public static final String USERTOKEN = "USERTOKEN";
	/**后台登陆时候在redis中存的token时间*/
	public static final int USERTOKENTIME = 36000;

	public static final String USER_PUSH = "USERPUSH";

	public static final String COMMENTLIST = "COMMENTLIST";

	public static final String WATCHERCOUNT = "WATCHERCOUNT";

	public static final String LOCALSESSIONID = "LOCALSESSIONID";
	/**	redis缓存unionid  映射本地userid*/	
	public static final String UIDLOCALUID = "UIDLOCALUID";
	/**微信用户信息在redis中存取*/
	public static final String WECHAT_USERINFO = "WECHATUSERINFO";
	/**微信用户信息在redis中存取*/
	public static final int WECHAT_USERINFO_TIME = 1200;
	/**用户推送保存的时间*/
	public static final String USER_PUSH_TIME = "USERPUSHTIME";
	/**直播发送的聊天信息总数*/
	public static final String QUE_COUNT = "JIAOYIN_QUECOUNT";
	/**pv数*/
	public static final String PV = "PV";
	/**预告页pv数*/
	public static final String PV_PRE = "PVPRE";
	/**直播在线人数*/
	public static final String ONLINE_PERSON_COUNT = "ONLINEPERSONCOUNT";
	/**缓存保存unionid 对应 本地用户信息*/
	public static final String UIDLOCALUSER = "UIDLOCALUSER";
	/**缓存用户信息时间*/
	public static final int UIDLOCALTIME = 72000;
	/**重播pv*/
	public static final String PV_REVIEW = "PV_REVIEW";
	/**预约成功模板id*/
	public static final String TEMP_ID_SUBSCRIBE = "V0alLtXfJDZuTK98TXGLuK8lADJicDcCA2B5xtqeMMw";
	/*{{first.DATA}}
	预约项目：{{keyword1.DATA}}
	预约时间：{{keyword2.DATA}}
	{{remark.DATA}}*/
	
	/**订阅课程开课模板id*/
	public static final String TEMP_ID_NOTICE = "b7zFPozJA0MA0utvoSaVp30CBlWrXl43q08R4irk9s0";
	/*{{first.DATA}}
	课程标题：{{keyword1.DATA}}
	课程内容：{{keyword2.DATA}}
	主讲老师：{{keyword3.DATA}}
	时间：{{keyword4.DATA}}
	{{remark.DATA}}*/
	public static final String TEMP_ID_TICKET="lJIYQhV7Ace63pxGUBk7_i86sDHmW7QZYKZEcBAVwPU";
	/*{{first.DATA}}
	活动名称：{{keyword1.DATA}}
	门票名称：{{keyword2.DATA}}
	门票数量：{{keyword3.DATA}}
	活动时间：{{keyword4.DATA}}
	活动地点：{{keyword5.DATA}}
	{{remark.DATA}}*/

	public static final String GIFT_TICKET = "DGhGhSKAaYKEEWpbwg6fd561MulAklrAnWqleTZ2D-k";
	/*{{first.DATA}}
	活动名称：{{keyword1.DATA}}
	活动时间：{{keyword2.DATA}}
	{{remark.DATA}}*/
	/**订阅成功通知模板id*/
	public static final String Temp_Id_Subscription = "nT_qL_tM5TN7pUEAJ7HX2jYMRbUbtzdI2EyEfT1tC4c";
	/*{{first.DATA}}
	订阅专栏：{{keyword1.DATA}}
	专栏讲师：{{keyword2.DATA}}
	备注：{{keyword3.DATA}}
	{{remark.DATA}}*/
	/**上课提醒模板id*/
	public static final String TEMP_ID_COURSE = "KrouSdHNY2yV4_ArP0pqphS_AQYFlcXKsq8pU9vV154";
	/*{{first.DATA}}
	课程名称：{{keyword1.DATA}}
	时间：{{keyword2.DATA}}
	{{remark.DATA}}*/
	/**开播前提醒模板ID*/
	public static final String TEMP_ID_PRE_SHOW = "qIbRCxEZwkIncIeVolqon_lC8qVeQ7Kw3Q-RaGLciNc";
	/*{{first.DATA}}
	课程名称：{{keyword1.DATA}}
	主讲老师：{{keyword2.DATA}}
	开课时间：{{keyword3.DATA}}
	{{remark.DATA}}*/
	/**预约成功通知模板id*/
	public static final String TEMP_ID_PRE = "BuCvuf5V_1OswAg84kSRDRMdzIhgBSaYWr-tqImjDWs";
	/*{{first.DATA}}
	授课时间：{{keyword1.DATA}}
	授课讲师：{{keyword2.DATA}}
	授课内容：{{keyword3.DATA}}
	{{remark.DATA}}*/
	
	public static final String REDIS_LOCK_QUARTZ_FLOW_STATICSTICS = "REDIS_LOCK_QUARTZ_FLOW_STATICSTICS";
	public static final String REDIS_LOCK_QUARTZ_LIVESHOW = "REDIS_LOCK_QUARTZ_LIVESHOW";
	public static final String REDIS_LOCK_QUARTZ_ORDER = "REDIS_LOCK_QUARTZ_ORDER";
	public static final String REDIS_LOCK_QUARTZ_NOTIFY = "REDIS_LOCK_QUARTZ_NOTIFY";
	public static final String REDIS_LOCK_QUARTZ_REDPACKET = "REDIS_LOCK_QUARTZ_REDPACKET";
	public static final String REDIS_LOCK_QUARTZ_REMINDMESSAGE = "REDIS_LOCK_QUARTZ_REMINDMESSAGE";
	public static final String REDIS_LOCK_QUARTZ = "REDIS_LOCK_QUARTZ";
	public static final String REDIS_LOCK_CACHE2DB = "REDIS_LOCK_CACHE2DB";
	public static final String REDIS_LOCK_CACHE2DB_COUNT = "REDIS_LOCK_CACHE2DB_COUNT";
	public static final String REDIS_LOCK_STATEMENT_DAY = "REDIS_LOCK_STATEMENT_DAY";
	public static final String REDIS_LOCK_GETREBPACKETINFO = "REDIS_LOCK_GETREBPACKETINFO";
	public static final String REDIS_LOCK_SYNFXORDERINFO = "REDIS_LOCK_SYNFXORDERINFO";
	public static final String REDIS_LOCK_REPLY_REBPACKETINFO = "REDIS_LOCK_REPLY_REBPACKETINFO";
	public static final String REDIS_LOCK_UPLOAD_AUDIO = "REDIS_LOCK_UPLOAD_AUDIO";
	public static final String REDIS_LOCK_HT_READ_REPORT_AGENT_GETCUSTOMER_SUM = "REDIS_LOCK_HT_READ_REPORT_AGENT_GETCUSTOMER_SUM";
	public static final String REDIS_LOCK_USERVIP_EXPIRED = "REDIS_LOCK_USERVIP_EXPIRED";
	public static final String REDIS_LOCK_VIP_CONVERSION_RATE_REPORT = "REDIS_LOCK_VIP_CONVERSION_RATE_REPORT";
	public static final String REDIS_LOCK_USER_LIVE_SHOW_SUB_REMIND = "REDIS_LOCK_USER_LIVE_SHOW_SUB_REMIND";
	public static final String REDIS_LOCK_LIVE_SHOW_START_REMIND_JOB = "REDIS_LOCK_LIVE_SHOW_START_REMIND_JOB";
	
	
	/**
	 * 判断uv是否重复
	 */
	public static final String IPUV_PRE = "IPUV_PRE";
	/**
	 * 判断uv是否重复
	 */
	public static final String IPUV_LIVE = "IPUV_LIVE";
	
	/**
	 * 判断uv是否重复
	 */
	public static final String IPUV_REVIEW = "IPUV_REVIEW";

	/**
	 * review uv 
	 */
	public static final String UV_REVIEW = "UV_REVIEW";
	/**
	 * review uv 
	 */
	public static final String UV_LIVE = "UV_LIVE";
	/**
	 * review uv 
	 */
	public static final String UV_PRE = "UV_PRE";

	/**
	 * ip超时时间，用来判定uv浏览量
	 */
	public static final int IP_EXPIRE_TIME = 86400;
	/**
	 * 判断是否是开发模式
	 */
	public static final String RUN_MODEL = property==null?"pro":property.getProperty("run.mode");
	
	/**
	 * 聚合页pv
	 */
	public static final String PV_FUSION = "PV_FUSION";
	
	/**
	 * 聚合页uv ip
	 */
	public static final String IPUV_FUSION = "IPUV_FUSION";
	
	/**
	 * 聚合页uv
	 */
	public static final String UV_FUSION = "UV_FUSION";
	
	/**
	 * 提醒的redis lock
	 */
	public static final String REDIS_LOCK_QUARTZ_REMIND = "REDIS_LOCK_QUARTZ_REMIND";
	
	/**
	 * 用户未读推送数量
	 */
	public static final String USER_PUSH_COUNT = "USER_PUSH_COUNT";

	/**
	 * redis存直播或者文章未读留言数
	 */
	public static final String UNREAD_MESSAGE_COUNT = "UNREAD_MESSAGE_COUNT";
	
	/**
	 * 客服电话
	 */
	public static final String CUSTEM_SERVICE_PHONE = "CUSTEM_SERVICE_PHONE";
	public static final String CUSTEM_SERVICE_WECHAT_NAME = "CUSTEM_SERVICE_WECHAT_NAME";
	public static final String CUSTEM_SERVICE_CODE_URL = "CUSTEM_SERVICE_CODE_URL";
	
	/**
	 * redis锁，用户订阅ip提醒
	 */
	public static final String REDIS_LOCK_QUARTZ_SUBREMIND = "REDIS_LOCK_QUARTZ_SUBREMIND";
	
	/**
	 * redis中保存用户的浏览标签，分数是用户标签次数
	 */
	public static final String REDIS_USER_TAG_COUNT_SET = "REDIS_USER_TAG_COUNT_SET";
	
	public static final String MENULIST = "MENULIST";
	
	public static final String WEIXIN_USERINFO_CACHE_KEY = "weixinUserInfo";
	
	public static final String WEIXIN_TOKEN_CACHE_KEY = "weixinTokenInfo";
	
	public static final String USERINFO_CACHE_KEY = "userInfo";
	
	public static final String REDIS_MAIN_CONTENT_UPDATE_REMIND = "REDIS_MAIN_CONTENT_UPDATE_REMIND";
	
	/**
	 * 文章
	 */
	public static final String ARTICLE_URL_PRE = "/#/article/";
	/**
	 * 栏目
	 */
	public static final String CHANNEL_URL_PRE = "/#/specialcontent/";
	/**
	 * 直播
	 */
	public static final String LIVESHOWPRE_URL = "/pay/live.html?liveShowId=";
	/**
	 * 预告
	 */
	public static final String LIVESHOWPRE_URL_PRE = "/pay/index.html?liveShowId=";
	/**
	 * 回顾
	 */
	public static final String LIVESHOW_URL_PRE = "/pay/review.html?liveShowId=";
	
	public static final String LIVESHOW_FLOW_SUFFIX = "_flow";
	
	public static final String LIVESHOW_FLOW_USER_SUFFIX = "_flow_user";
	
	public static final String WEIXIN_SHARE_SUFFIX = "_weixin_share";
	
	/**
	 * 从脚印获取微信token接口URL
	 */
	public static final String JIAOYIN_TOKEN_URL = "http://zhibo.dejikeji.com/api/zhibo/v1/weixin/token";
	
	/**
	 * 一周的秒数
	 */
//	public static final int A_WEEK_SECOND = 60*60*24*7;
	
	/**
	 * 缓存用户openid，通过userid获取
	 */
	public static final String CACHE_USERINFO_USERID_KEY_PRE = "cache_userinfo_openid_";
	/**
	 * 缓存用户userid，通过openid获取
	 */
	public static final String CACHE_USERINFO_OPENID_KEY_PRE = "cache_userinfo_userid_";
	
	/**
	 * 回调订单队列
	 */
	public static final String CACHE_CALLBACK_ORDER_QUEUE = "CACHE_CALLBACK_ORDER_QUEUE";
	
	/**
	 * 订单队列，格式CACHE_ORDER_QUEUE_KEY+orderNo,value=Order JSON对象
	 */
	public static final String CACHE_ORDER_QUEUE_KEY_PRE = "CACHE_ORDER_QUEUE_";
	
	/**
	 * 订单锁，针对同一个订单处理
	 */
	public static final String CACHE_ORDER_LOCK_KEY_PRE = "CACHE_ORDER_LOCK_";
	
	/**
	 * 我的门票队列，格式CACHE_MYTICKET_QUEUE_KEY_PRE+liveShowId+_+userId，value=Ticket JSONArray对象
	 */
	public static final String CACHE_MYTICKET_QUEUE_KEY_PRE = "CACHE_MYTICKET_QUEUE_";
	
	/**
	 * 我的红包队列，格式CACHE_MYREDPACKET_QUEUE_KEY_PRE+liveShowId+_+userId，value=redPacket JSONArray对象
	 */
	public static final String CACHE_MYREDPACKET_QUEUE_KEY_PRE = "CACHE_MYREDPACKET_QUEUE_";
	
	/**
	 * 直播销售数量
	 */
	public static final String CACHE_LIVESHOW_SALE_TICKET_KEY_PRE = "CACHE_LIVESHOW_SALE_TICKET_";
	/**
	 * 存储待入库门票队列
	 */
	public static final String CACHE_TICKET_TO_DB_QUEUE_KEY = "CACHE_TICKET_TO_DB_QUEUE";
	/**
	 * 存储待入订单票队列
	 */
	public static final String CACHE_ORDER_TO_DB_QUEUE_KEY = "CACHE_ORDER_TO_DB_QUEUE";
	
	/**
	 * 存储待使用票队列
	 */
	public static final String CACHE_USE_TICKET_TO_DB_QUEUE_KEY = "CACHE_USE_TICKET_TO_DB_QUEUE";
	
	/**
	 * 微信发红包队列
	 */
	public static final String CACHE_WEIXIN_REBPACKET_QUEUE_KEY = "CACHE_WEIXIN_REBPACKET_QUEUE";
	
	/**
	 * 分享图文队列
	 */
	public static final String CACHE_SHARE_IMAGETEXT_QUEUE_KEY = "CACHE_SHARE_IMAGETEXT_QUEUE";
	
	/**
	 * 分销订单同步队列
	 */
	public static final String CACHE_FX_ORDERINFO_QUEUE_KEY = "CACHE_FX_ORDERINFO_QUEUE";
	
	/**
	 * 直播订阅人数
	 */
	public static final String CACHE_LIVE_SHOW_SUB_STATUS_COUNT = "CACHE_LIVE_SHOW_SUB_STATUS_COUNT";
	/**
	 * 直播订阅注水数
	 */
	public static final String CACHE_LIVE_SHOW_SUB_STATUS_DUMMY_COUNT = "CACHE_LIVE_SHOW_SUB_STATUS_DUMMY_COUNT";
	
	/** 分享-天气缓存 **/

	/** 经纬度队列**/
	public static final String CACHE_WEATHER_LAT_AND_LON = "weather_lat_and_lon";
	/** 纬度城市信息队列 **/
	public static final String CACHE_WEATHER_LAT_KEY = "weather_lat_key_";
	/** 经度城市信息队列 **/
	public static final String CACHE_WEATHER_LON_KEY = "weather_lon_key_";
	/** 城市经纬度队列 **/
	public static final String CACHE_WEATHER_CITY_ID_IS_EXIST_LAT_AND_LON = "weather_city_id_is_exist_lat_and_lon_";
	/** 城市当天天气信息 **/
	public static final String CACHE_WEATHER_CITY_ID_TODAY_INFO = "weather_city_id_today_info_";

	/** 门票日报表 **/
	
	/** 日期缓存 **/
	public static final String CACHE_STATEMENT_LIVE_SHOW_TICKET_STATEMENT_DATE = "live_show_ticket_statement_date";
	/** 直播信息缓存 **/
	public static final String CACHE_STATEMENT_LIVE_SHOW_TICKET_STATEMENT_LIVE_SHOW_IDS = "live_show_ticket_statement_live_show_ids";
	/** 渠道码缓存 **/
	public static final String CACHE_STATEMENT_LIVE_SHOW_TICKET_STATEMENT_BUY_CHANNEL_CODES = "live_show_ticket_statement_buy_channel_codes";
	
	/** 聚合页首页缓存 **/
	public static final String CACHE_AGGREGATE_INDEX_INFO = "aggregate_index_info";	
	
	/**
	 * 分销系统对接秘钥
	 */
	public static final String PLATFORM_ID = "DJKJ100001";
	public static final String PLATFORM_KEY = "assdaad1231223c9dae42e06fd7b21e2";
	/**
	 * 产品同步地址
	 */
	public static final String SYN_PRODUCTS_URL = "http://menpiao.dejikeji.com/api/front/v2/fx/synProductsInfo";
	/**
	 * 订单同步地址
	 */
	public static final String SYN_ORDER_URL = "http://menpiao.dejikeji.com/api/front/v2/fx/notifyOrder";
	/**
	 * 订单同步地址 测试
	 */
	public static final String SYN_ORDER_URL_TEST = "http://live-room-1.dejikeji.com/api/front/v2/fx/notifyOrder";
	
	/**
	 * 分销系统,用户账户微信通知跳转url
	 */
	public static final String FX_USER_ACCOUNT_WEIXIN_URL = KeegooConfig.HOST_NAME + "/distribution/page/index.html";
	/**
	 * 微信支付回调URL
	 */
	public static final String WX_PAY_NOTIFY_URL = KeegooConfig.HOST_NAME + "/api/zhibo/wechatpay/notifyresult";
	
	/**
	 * 是否可提现Key  1正常，2停止
	 */
	public static final String IS_CASH_CACHE_KEY = "FX_IS_CACHE";
	/**
	 * 分销状态Key 1正常，2关闭分销
	 */
	public static final String IS_FX_CACHE_KEY = "FX_IS_FX";
	
	/**
	 * VIP 转换报表
	 */
	public static final String CACHE_VIP_CONVERSION_RATE_REPORT = "CACHE_VIP_CONVERSION_RATE_REPORT";
	
	/**
	 * 华泰代理人信息前缀
	 */
	public static final String CACHE_HT_USER_KEY_PRE = "CACHE_HT_USER_";
	
	/**
	 * 华泰组织信息前缀
	 */
	public static final String CACHE_HT_ORG_KEY_PRE = "CACHE_HT_ORG_";
	
	/**
	 * 华泰组织人数
	 */
	public static final String CACHE_HT_ORG_USERS_KEY_PRE = "CACHE_HT_ORG_USERS_";
	
	/**
	 * 华泰短信统计条数
	 */
	public static final String CACHE_HT_SMS_COUNTS_KEY = "CACHE_HT_SMS_COUNTS";
	
	/**
	 * 活动点赞统计条数
	 */
	public static final String CACHE_ACTIVITY_UP_COUNTS_KEY = "CACHE_ACTIVITY_UP_COUNTS_";
	
	/**
	 * 活动获客列表
	 */
	public static final String CACHE_ACTIVITY_MY_USERLIST_KEY = "CACHE_ACTIVITY_MY_USERLIST_";
	
	/**
	 * 中秋活动
	 */
	/**	用户投票时间	**/
	public static final String CACHE_ACTIVITY_VOTE_USER_IS_VOTE = "activity_vote_user_is_vote_";	
	/**	投票票数	**/
	public static final String CACHE_ACTIVITY_VOTE_ALL_VOTE_SUM = "activity_vote_all_vote_sum";	
	/**	用户投票状态	**/
	public static final String CACHE_ACTIVITY_VOTE_USER_VOTE_STATUS = "activity_vote_user_vote_status_";

	/**
	 * 音频文件存储文件夹
	 */
	public static final String FILES_AUDIO_DIRPATH = "/tmp/audio";
	
	/**
	 * 签名，平台ID-脚印专栏
	 */
	public static final String ZL_PLATFORM_ID = "DJKJ100002";
	/**
	 * 签名，平台ID-课堂
	 */
	public static final String KT_PLATFORM_ID = "DJKJ100003";
	/**
	 * 签名，平台ID-小组
	 */
	public static final String XZ_PLATFORM_ID = "DJKJ100004";
	
	/**
	 * 转换队列
	 */
	public static final String CACHE_AUDIO_CHANGE_QUEUE_KEY = "CACHE_AUDIO_CHANGE_QUEUE";
	
	/**
	 * 华泰阅读活动 - 报表 - 代理人获客统计
	 */
	public static final String CACHE_HT_READ_REPORT_AGENT_GETCUSTOMER_SUM = "CACHE_HT_READ_REPORT_AGENT_GETCUSTOMER_SUM";
	/**
	 * 华泰阅读活动 - 报表 - 代理人获客统计  - 获客数
	 */
	public static final String CACHE_HT_READ_REPORT_AGENT_GETCUSTOMER_COUNT = "CACHE_HT_READ_REPORT_AGENT_GETCUSTOMER_COUNT";
	/**
	 * 华泰阅读活动 - 报表 - 代理人获客统计  - 是否完成
	 */
	public static final String REDIS_LOCK_HT_READ_REPORT_AGENT_GETCUSTOMER_SUM_IS_FINISH = "REDIS_LOCK_HT_READ_REPORT_AGENT_GETCUSTOMER_SUM_IS_FINISH";
	/**
	 * 华泰阅读活动 - 报表 - 机构获客统计 
	 */
	public static final String CACHE_HT_READ_REPORT_ORG_SUM = "CACHE_HT_READ_REPORT_ORG_SUM";
	/**
	 * 华泰阅读活动 - 报表 - 报表记录时间
	 */
	public static final String CACHE_HT_READ_REPORT_RECORD_TIME = "CACHE_HT_READ_REPORT_RECORD_TIME";
}
